<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="m" class="com.sam.MemberDAO" scope="session"></jsp:useBean>
<%
int isDel = 0;
String s = request.getParameter("userId");
if (s!=null){
	isDel = m.delete(s);
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Delete Member</title>
</head>
<body>
<%if (isDel>0) {%>
已成功刪除
<%} %>

<a href="list_member.jsp">回會員清單</a>
</body>
</html>